package org.example.erpapicommon.service;


import org.example.erpapicommon.Util.Pageable;
import org.example.erpapicommon.Util.Param.OrderQueryParam;
import org.example.erpapicommon.model.Order;
import org.example.erpapicommon.model.TOrder;
import org.example.erpapicommon.model.TOrderDetail;

import java.util.List;
import java.util.Optional;

public interface OrderService {
    default Pageable<TOrder> getOrders(OrderQueryParam param) {
        return null;
    }
    default Optional<Order> getOrdersById(String id) {
        return null;
    }
    default List<TOrderDetail > getOrderDetailByOrderId(String OrderId) {
        return null;
    }
}
